/*******************************************************************************
 * CBNews.h
 * ComicsBlog
 *
 * Adrien Bougouin <adrien.bougouin@gmail.com>
 */

#import <Foundation/Foundation.h>

@interface CBNews : NSObject {
  @private
    NSUInteger _identifier;
    NSString *_title;
    NSString *_author;
    NSString *_pubDate;
    NSString *_hdImage;
    NSString *_image;
    NSString *_file;
    NSString *_description;
    NSUInteger _category;
    NSString *_type;
}

@property(nonatomic,
          assign,
          getter=identifier,
          setter=setIdentifier) NSUInteger _identifier;
@property(nonatomic,
          retain,
          getter=title,
          setter=setTitle) NSString *_title;
@property(nonatomic,
          retain,
          getter=author,
          setter=setAuthor) NSString *_author;
@property(nonatomic,
          retain,
          getter=pubDate,
          setter=setPubDate) NSString *_pubDate;
@property(nonatomic,
          retain,
          getter=hdImage,
          setter=setHDImage) NSString *_hdImage;
@property(nonatomic,
          retain,
          getter=image,
          setter=setImage) NSString *_image;
@property(nonatomic,
          retain,
          getter=file,
          setter=setFile) NSString *_file;
@property(nonatomic,
          retain,
          getter=description,
          setter=setDescription) NSString *_description;
@property(nonatomic,
          assign,
          getter=category,
          setter=setCategorie) NSUInteger _category;
@property(nonatomic,
          retain,
          getter=type,
          setter=setType) NSString *_type;

- (id) initWithID:(NSUInteger) identifier
            title:(NSString *) title
           author:(NSString *) author
          pubDate:(NSString *) pubDate
          hdImage:(NSString *) hdImage
            image:(NSString *) image
             file:(NSString *) file
      description:(NSString *) description
         category:(NSUInteger) category
             type:(NSString *) type;

@end

